package com.madao.im.response;

/**
 * 返回
 *
 * @author chengjunchao
 * @version 1.0.0
 * @date 2021/12/6 14:11
 */
public class JsonData<T> {
    public static final int CODE_SUCCESS = 0;
    public static final String CODE_SUCCESS_MESSAGE = "成功";

    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    private T data;


}
